package edu.psu.geovista.data.model;

/*
* GeoVISTA Center (Penn State, Dept. of Geography)
* Copyright (c) 2002, GeoVISTA Center
* Licensed under Simplified BSD License
*  
* @original author: jin Chen 
* @author: jin Chen 
* @date: Jun 25, 2007$
* @version: 1.0
*/
public interface BasicAppDataModel {
   Object getValueAt(int row, int column);
    public AppDataModel getSubsetByRowIndexs(int[] rowIndexs);
    public AppDataModel getSubsetByColumnIds(Object[] colIds);
    public MetaData getMetaData() ;
   /*******************************************************************************************************
    *                column
    *******************************************************************************************************/
   int getColumnCount();
   int getColumnIndexByName(String colName);
   String[] getColumnNames();
   double[] getColumnValueAsDouble(int column);

    /*******************************************************************************************************
     *                row
     *******************************************************************************************************/
    int getRowCount();
    String[] getRownames();
}
